package test1224;

public class Test06 {
    public static void main(String[] args) {
        // 找出arr中的最小值
        int[] arr = {6, 1, 7, 4, 3};
        int min = arr[0];
        for(int i = arr.length-1; i >= 0; i--){
            if(arr[i] < min){
                min = arr[i];
            }
        }
        System.out.println(min);
    }
}
